Rnoc\Retainful\Admin\Settings D

Total Complexity 291
Dependencies 13
Dependents 9
Total lines 1,860
Lines of code 1,289
Logical lines of code 615
Comment lines 394
Methods 86
Properties 4

Methods 86

Method Rating Maintainability Complexity Lines of code
getCouponSettings()
B
52 23 18
savePremiumAddOnSettings()
B
38 17 62
nextScheduledAction()
A
46 11 40
scheduleEvents()
A
49 11 33
validateAppKey()
A
44 9 42
isApiEnabled()
A
51 9 28
getDefaultPremiumAddonsValues()
S
33 1 113
removeFinishedHooks()
S
53 7 21
logMessage()
S
55 7 18
getCouponExpireDate()
S
56 7 16
validateCouponTimer()
S
42 4 57
saveNocSettings()
S
40 3 62
getCategories()
S
57 6 16
sanitizeBasicHtml()
S
49 5 30
getSearchedCoupons()
S
52 4 25
getPlanDetails()
S
55 4 21
validateExitIntentPopup()
S
44 2 47
saveAcSettings()
S
50 3 28
isInstalledFresh()
S
60 4 13
addScript()
S
50 3 27
sendCouponDetails()
S
61 4 12
getUserRoles()
S
61 4 11
validateAddToCartPopup()
S
47 2 38
getInvalidProductsForCoupon()
S
63 4 10
getCouponMessage()
S
65 4 8
storeDetails()
S
49 2 30
autoGenerateCouponsForOldOrders()
S
64 4 9
getSecretKey()
S
67 4 7
isAppConnected()
S
67 4 7
getCouponValidUserRoles()
S
63 4 10
getCouponLimitPerUser()
S
63 4 10
getApiKey()
S
67 4 7
getMinimumOrderTotalForCouponGeneration()
S
63 4 10
getInvalidCategoriesForCoupon()
S
63 4 10
validateBasicHtmlTags()
S
60 3 13
availableOrderStatuses()
S
64 3 11
trackZeroValueCarts()
S
73 3 4
getUsageRestrictions()
S
65 3 10
getExpireDateFormat()
S
68 3 7
getCartTrackingEngine()
S
73 3 4
isNextOrderCouponEnabled()
S
66 3 8
getStorageHandler()
S
66 3 8
getCouponValidOrderStatuses()
S
66 3 8
showCouponInThankYouPage()
S
66 3 8
enableCouponResponsePopup()
S
66 3 8
clean()
S
68 3 7
retainfulPremiumAddOnsPage()
S
58 2 15
couponFor()
S
66 3 8
couponMessageHook()
S
66 3 8
initAdminPageStyles()
S
69 3 6
addPostMeta()
S
65 3 9
getDefaultNocSettings()
S
50 1 29
nextOrderCouponPage()
S
53 1 23
retainfulSettingsPage()
S
56 1 18
hasAnyActiveScheduleExists()
S
59 1 16
getSiteTimeZone()
S
70 2 7
__construct()
S
69 2 7
isProPlan()
S
69 2 6
switchToCloudNotice()
S
66 2 7
pluginActionLink()
S
64 2 9
disconnectLicense()
S
63 2 10
validateFloat()
S
79 2 3
getUserPlanStatus()
S
74 2 4
getAdminSettings()
S
70 2 6
getUserActivePlan()
S
74 2 4
getPremiumAddonSettings()
S
70 2 6
getWooPluginUrl()
S
72 2 6
setupSurveyForm()
S
71 2 5
getEmailTemplatesSettings()
S
70 2 6
getDateFormatOptions()
S
61 1 13
getAllAvailableCurrencies()
S
73 1 5
retainfulLicensePage()
S
63 1 10
updateUserAsFreeUser()
S
77 1 4
validateColor()
S
79 1 3
updatePlanDetails()
S
76 1 4
registerMenu()
S
66 1 7
appliedCouponDefaultTemplate()
S
83 1 3
unScheduleHooks()
S
76 1 4
schedulePlanChecker()
S
78 1 3
getBaseCurrency()
S
76 1 4
setAbandonedCartToManageInCloud()
S
77 1 4
isNewInstallation()
S
80 1 3
runAbandonedCartExternally()
S
83 1 3
unlockPremiumLink()
S
77 1 3
getLicenseDetails()
S
79 1 3
availableScheduledActions()
S
79 1 3